<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>my_skynet: Log Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">my_skynet
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classLog.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classLog-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Log Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae1f217486548f0c7921ff95316f56883"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae1f217486548f0c7921ff95316f56883"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Log</b> (const <a class="el" href="classLog.html">Log</a> &amp;)=delete</td></tr>
<tr class="separator:ae1f217486548f0c7921ff95316f56883"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f6deb0fc037c31e967944d94ad2b0fd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f6deb0fc037c31e967944d94ad2b0fd"></a>
const <a class="el" href="classLog.html">Log</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classLog.html">Log</a> &amp;)=delete</td></tr>
<tr class="separator:a1f6deb0fc037c31e967944d94ad2b0fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc2470e1e4de07f81462116f6fdf60fd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc2470e1e4de07f81462116f6fdf60fd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLog.html#adc2470e1e4de07f81462116f6fdf60fd">Init</a> ()</td></tr>
<tr class="memdesc:adc2470e1e4de07f81462116f6fdf60fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化spdlog，TODO: 配置文件 <br/></td></tr>
<tr class="separator:adc2470e1e4de07f81462116f6fdf60fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7103c875546b901842bf399472441560"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7103c875546b901842bf399472441560"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetLevel</b> (spdlog::level::level_enum level)</td></tr>
<tr class="separator:a7103c875546b901842bf399472441560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e2c81f435230a702ba99593138273c4"><td class="memTemplParams" colspan="2">template&lt;typename... Args&gt; </td></tr>
<tr class="memitem:a9e2c81f435230a702ba99593138273c4"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classLog.html#a9e2c81f435230a702ba99593138273c4">NativeLog</a> (const spdlog::source_loc &amp;loc, spdlog::level::level_enum lvl, fmt::format_string&lt; Args...&gt; fmt, Args &amp;&amp;...args)</td></tr>
<tr class="memdesc:a9e2c81f435230a702ba99593138273c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">核心日志方法（供宏调用）  <a href="#a9e2c81f435230a702ba99593138273c4">More...</a><br/></td></tr>
<tr class="separator:a9e2c81f435230a702ba99593138273c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ae1784e08c08e63dec26464da46a14fee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae1784e08c08e63dec26464da46a14fee"></a>
static <a class="el" href="classLog.html">Log</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetInstance</b> ()</td></tr>
<tr class="separator:ae1784e08c08e63dec26464da46a14fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3f6d9a75ebfa270600c96ea4edfea6cd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f6d9a75ebfa270600c96ea4edfea6cd"></a>
std::shared_ptr&lt; spdlog::logger &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>logger_</b></td></tr>
<tr class="separator:a3f6d9a75ebfa270600c96ea4edfea6cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9196c56dc091d6837a46bb708ee058c5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9196c56dc091d6837a46bb708ee058c5"></a>
spdlog::level::level_enum&#160;</td><td class="memItemRight" valign="bottom"><b>level_</b></td></tr>
<tr class="separator:a9196c56dc091d6837a46bb708ee058c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a9e2c81f435230a702ba99593138273c4"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Log::NativeLog </td>
          <td>(</td>
          <td class="paramtype">const spdlog::source_loc &amp;&#160;</td>
          <td class="paramname"><em>loc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">spdlog::level::level_enum&#160;</td>
          <td class="paramname"><em>lvl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">fmt::format_string&lt; Args...&gt;&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Args &amp;&amp;...&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>核心日志方法（供宏调用） </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Args</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">loc</td><td></td></tr>
    <tr><td class="paramname">lvl</td><td></td></tr>
    <tr><td class="paramname">fmt</td><td></td></tr>
    <tr><td class="paramname">args</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/why/workspace/my_skynet/include/<a class="el" href="log_8h_source.html">log.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classLog.html">Log</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>
